/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

import com.bedatadriven.mso.core.Assistant;
import com.bedatadriven.mso.core.CommandBars;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Excel._Global*/
public class _Global extends JavaScriptObject {

	protected _Global() { }
	public native final ExcelApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final ExcelApplication getParent()/*-{
		return this.Parent;
	}-*/;

	public native final Range getActiveCell()/*-{
		return this.ActiveCell;
	}-*/;

	public native final Chart getActiveChart()/*-{
		return this.ActiveChart;
	}-*/;

	public native final DialogSheet getActiveDialog()/*-{
		return this.ActiveDialog;
	}-*/;

	public native final MenuBar getActiveMenuBar()/*-{
		return this.ActiveMenuBar;
	}-*/;

	public native final String getActivePrinter()/*-{
		return this.ActivePrinter;
	}-*/;

	public native final void setActivePrinter(String value)/*-{
		this.ActivePrinter = value;
	}-*/;

	public native final Object getActiveSheet()/*-{
		return this.ActiveSheet;
	}-*/;

	public native final Window getActiveWindow()/*-{
		return this.ActiveWindow;
	}-*/;

	public native final Workbook getActiveWorkbook()/*-{
		return this.ActiveWorkbook;
	}-*/;

	public native final AddIns getAddIns()/*-{
		return this.AddIns;
	}-*/;

	public native final Assistant getAssistant()/*-{
		return this.Assistant;
	}-*/;

	public native final void calculate()/*-{
		this.Calculate( );
	}-*/;

	public native final Range getCells()/*-{
		return this.Cells;
	}-*/;

	public native final Sheets getCharts()/*-{
		return this.Charts;
	}-*/;

	public native final Range getColumns()/*-{
		return this.Columns;
	}-*/;

	public native final CommandBars getCommandBars()/*-{
		return this.CommandBars;
	}-*/;

	public native final int getDDEAppReturnCode()/*-{
		return this.DDEAppReturnCode;
	}-*/;

	public native final void dDEExecute(int channel, String string)/*-{
		this.DDEExecute( channel, string);
	}-*/;

	public native final int dDEInitiate(String app, String topic)/*-{
		return this.DDEInitiate( app, topic);
	}-*/;

	public native final void dDEPoke(int channel,  Object item,  Object data)/*-{
		this.DDEPoke( channel, item, data);
	}-*/;

	public native final JavaScriptObject dDERequest(int channel, String item)/*-{
		return this.DDERequest( channel, item);
	}-*/;

	public native final void dDETerminate(int channel)/*-{
		this.DDETerminate( channel);
	}-*/;

	public native final Sheets getDialogSheets()/*-{
		return this.DialogSheets;
	}-*/;

	public native final JavaScriptObject evaluate( Object name)/*-{
		return this.Evaluate( name);
	}-*/;

	public native final JavaScriptObject _Evaluate( Object name)/*-{
		return this._Evaluate( name);
	}-*/;

	public native final JavaScriptObject executeExcel4Macro(String string)/*-{
		return this.ExecuteExcel4Macro( string);
	}-*/;

	public native final Range intersect(Range arg1, Range arg2,  Object arg3,  Object arg4,  Object arg5,  Object arg6,  Object arg7,  Object arg8,  Object arg9,  Object arg10,  Object arg11,  Object arg12,  Object arg13,  Object arg14,  Object arg15,  Object arg16,  Object arg17,  Object arg18,  Object arg19,  Object arg20,  Object arg21,  Object arg22,  Object arg23,  Object arg24,  Object arg25,  Object arg26,  Object arg27,  Object arg28,  Object arg29,  Object arg30)/*-{
		return this.Intersect( arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, arg29, arg30);
	}-*/;

	public native final MenuBars getMenuBars()/*-{
		return this.MenuBars;
	}-*/;

	public native final Modules getModules()/*-{
		return this.Modules;
	}-*/;

	public native final Names getNames()/*-{
		return this.Names;
	}-*/;

	public native final Range getRange( Object cell1,  Object cell2)/*-{
		return this.Range( cell1, cell2);
	}-*/;

	public native final Range getRows()/*-{
		return this.Rows;
	}-*/;

	public native final JavaScriptObject run( Object macro,  Object arg1,  Object arg2,  Object arg3,  Object arg4,  Object arg5,  Object arg6,  Object arg7,  Object arg8,  Object arg9,  Object arg10,  Object arg11,  Object arg12,  Object arg13,  Object arg14,  Object arg15,  Object arg16,  Object arg17,  Object arg18,  Object arg19,  Object arg20,  Object arg21,  Object arg22,  Object arg23,  Object arg24,  Object arg25,  Object arg26,  Object arg27,  Object arg28,  Object arg29,  Object arg30)/*-{
		return this.Run( macro, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, arg29, arg30);
	}-*/;

	public native final JavaScriptObject _Run2( Object macro,  Object arg1,  Object arg2,  Object arg3,  Object arg4,  Object arg5,  Object arg6,  Object arg7,  Object arg8,  Object arg9,  Object arg10,  Object arg11,  Object arg12,  Object arg13,  Object arg14,  Object arg15,  Object arg16,  Object arg17,  Object arg18,  Object arg19,  Object arg20,  Object arg21,  Object arg22,  Object arg23,  Object arg24,  Object arg25,  Object arg26,  Object arg27,  Object arg28,  Object arg29,  Object arg30)/*-{
		return this._Run2( macro, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, arg29, arg30);
	}-*/;

	public native final Object getSelection()/*-{
		return this.Selection;
	}-*/;

	public native final void sendKeys( Object keys,  Object wait)/*-{
		this.SendKeys( keys, wait);
	}-*/;

	public native final Sheets getSheets()/*-{
		return this.Sheets;
	}-*/;

	public native final Menu getShortcutMenus(int index)/*-{
		return this.ShortcutMenus( index);
	}-*/;

	public native final Workbook getThisWorkbook()/*-{
		return this.ThisWorkbook;
	}-*/;

	public native final Toolbars getToolbars()/*-{
		return this.Toolbars;
	}-*/;

	public native final Range union(Range arg1, Range arg2,  Object arg3,  Object arg4,  Object arg5,  Object arg6,  Object arg7,  Object arg8,  Object arg9,  Object arg10,  Object arg11,  Object arg12,  Object arg13,  Object arg14,  Object arg15,  Object arg16,  Object arg17,  Object arg18,  Object arg19,  Object arg20,  Object arg21,  Object arg22,  Object arg23,  Object arg24,  Object arg25,  Object arg26,  Object arg27,  Object arg28,  Object arg29,  Object arg30)/*-{
		return this.Union( arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, arg29, arg30);
	}-*/;

	public native final Windows getWindows()/*-{
		return this.Windows;
	}-*/;

	public native final Workbooks getWorkbooks()/*-{
		return this.Workbooks;
	}-*/;

	public native final WorksheetFunction getWorksheetFunction()/*-{
		return this.WorksheetFunction;
	}-*/;

	public native final Sheets getWorksheets()/*-{
		return this.Worksheets;
	}-*/;

	public native final Sheets getExcel4IntlMacroSheets()/*-{
		return this.Excel4IntlMacroSheets;
	}-*/;

	public native final Sheets getExcel4MacroSheets()/*-{
		return this.Excel4MacroSheets;
	}-*/;

}
